Release 10.1A: OpenEdge Development:
Messaging and ESB
browseQueue procedure
Allows applications to view messages in a queue without consuming them.
Syntax
Parameters
queueNameThe queue from which the messages are received.
messageSelectorA message selector.
messageConsumerA Message Consumer object, which handles the messages asynchronously.
Applies to
Session objects
Notes
- This procedure receives (for browsing) all messages currently in the queue in the
messageConsumerobject.- Browsed messages are not removed from the queue or acknowledged and are not subject to the transactional context of the session. (For more information, see the Java Message Service specification and the SonicMQ Programming Guide on queue browsing).
- The session need not run the startReceiveMessages procedure to browse messages on a queue.
- This procedure executes remotely (sends a message to the OpenEdge Adapter for SonicMQ).
See also
browseQueue procedure, receiveFromQueue procedure, sendToQueue procedure
For more information, see the "Sending messages to a queue" section, the "Receiving messages from a queue" section, and the "Methods unique to Point-to-Point messaging" section.
For an example, see the "PTP message example" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |